package cn.kgc.ebook.service;

import cn.kgc.ebook.pojo.Ebookcategory;
import cn.kgc.ebook.pojo.Ebookentry;
import com.github.pagehelper.PageInfo;
import org.springframework.data.relational.core.sql.In;

import java.util.List;

public interface EbookKentryService {

    public PageInfo<Ebookentry> select(Integer pageNum, Integer pageSize, Integer categoryId);
    Integer add(Ebookentry entry);
    Ebookentry seleById(Integer id);
    Integer update(Ebookentry entry);
    Integer delete(Integer id);
}
